Top

A Foundation for WebScript Programmers: Quick Guide to Useful Classes

This chapter gives an overview of the classes you use most commonly in WebScript, the WebObjects scripting language. For a description of WebScript language features and syntax, see Using WebScript.

Foundation Objects

Describes topics that apply to all the classes you use in WebScript programming. The topics included in this section are:

Working with Strings

Describes techniques for working with strings using NSString and NSMutableString objects. NSString and NSMutableString represent static and dynamic character strings, respectively. They are searched for substrings, compared against one another, combined into new strings, and so on.

Commonly Used String Methods

Lists the most commonly used NSString and NSMutableString methods. The methods covered are grouped in the following categories:

Working with Arrays

Describes using NSArray and NSMutableArray objects to manage collections of objects.

Commonly Used Array Methods

Lists the most commonly used NSArray and NSMutableArray methods. The methods covered are grouped in the following categories:

Working with Dictionaries

Describes using NSDictionary and NSMutableDictionary objects to store objects that can be uniquely identified by strings.

Commonly Used Dictionary Methods

Lists some of the most commonly used methods of NSDictionary and NSMutableDictionary. The methods covered are grouped in the following categories:

Working with NSCalendarDates

Describes using NSCalendarDate objects to represent dates and times. See The Calendar Format included in this section for a description of the calendar format used by NSCalendarDate.

Commonly Used NSCalendarDate Methods

Lists some of the most commonly used methods of NSCalendarDate. The methods covered are grouped in the following categories: